package com.sjp.service.impl;

import com.sjp.dao.UserMapper;
import com.sjp.pojo.dto.UserDto;
import com.sjp.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public UserDto queryUserByNameAndPassword(UserDto userDto) {
        return userMapper.queryUserByNameAndPassword(userDto);
    }
}
